package cn.itcast.bos.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Courier;

public interface CourierService {

	void save(Courier courier);

	Page<Courier> findPageDate(PageRequest pages);

	Page<Courier> findPageQueryByCondition(Specification<Courier> specification, PageRequest pageable);

	void deleteCourier(String ids);

	void recoverCourier(String ids);

	List<Courier> findNoAssociation();

	List<Courier> findAssociationCourier(String fixedAreaId);

}
